package com.sy.jtabytetcc.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name="slave",url = "http://localhost:8082")
public interface IRepoAService {

    @PostMapping("/tradingItems")
    void tradingItems(@RequestParam("id") Integer id,@RequestParam("count")Integer count);

}
